<extend name="desktop_default/template/user/base_user" />
<block name="area_header">
    <link rel="stylesheet" href="__CSS__/user/pingjia/style.css">
</block>

<block name="area_top">

</block>
<block name="user_top">

</block>
<block name="main_content">
    <div class="pingjia">
        <div class="user-tab">
            <a class="selected" href="{:U('mengwu/user/pingjia/t/sp')}">商品评价</a>
            <a href="{:U('mengwu/user/pingjia/t/zwx')}">赠无限评价</a>
        </div>
        <div class="pingjia-list">
            <table width="100%">
                <thead>
                <tr>
                    <th width="50%">评价内容</th>
                    <th width="50%">商品信息</th>
                </tr>
                </thead>
                <tbody>
                <empty name="list">
                    <tr>
                        <td colspan="2" align="center">没有任何评价哦~</td>
                    </tr>
                    <else/>
                    <volist name="list" id="vo">
                        <tr>
                            <td><p class="cs">{$vo.comment}</p><span class="time">[{$vo.comment_time|date='Y-m-d H:i:s',###}]</span></td>
                            <td><p class="cs">{$vo.name} {$vo.sku_desc}</p><span class="price">{$vo.price}元</span></td>
                        </tr>
                    </volist>
                </empty>


                </tbody>
            </table>
        </div>
        {$show}
    </div>

</block>
<block name="area_footer">

</block>
